package org.ruslan.kolobok.model;


public class SoldierType extends AliveType {
	private int hitpoints;
	private int attack;
	
	public int getHitpoints() {
		return hitpoints;
	}
	
	public void setHitpoints(int hitpoints) {
		this.hitpoints = hitpoints;
	}
	
	public int getAttack() {
		return attack;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append(super.toString());
		builder.append("SoldierType [hitpoints=");
		builder.append(getHitpoints());
		builder.append(", attack=");
		builder.append(getAttack());
		builder.append("]");
		return builder.toString();
	}
}